﻿Imports System.Runtime.CompilerServices

Public Module TypeExtension

    ''' <summary>
    ''' Table型に変換します
    ''' </summary>
    ''' <param name="source"></param>
    ''' <returns></returns>
    ''' <remarks>#98 TableAttributeReader.Read処理を拡張メソッドにする</remarks>
    <Extension()>
    Public Function ToTable(source As Type) As TableAttribute
        Return TableAttributeReader.Read(source)
    End Function

End Module
